package com.neu.flashmall.ms.service;

import com.neu.flashmall.ms.entity.SysMenu;
import com.neu.flashmall.ms.vo.SysMenuVo;

import java.util.HashMap;
import java.util.List;

public interface SysMenuService {
    List<Long> getMenuByRole(Integer role);

    SysMenuVo createSysMenuVoLevel();

    List<SysMenu> getAllSysMenuByRole(Long roleId);

    String addSysMenu(SysMenu sysMenu);

    String deleteSysMenu(Long id,Integer level);

    String updateSysMenu(SysMenu sysMenu);

    List<SysMenu> getAllSysMenu();

    HashMap<String,Long> getUrlToIdMap();
}
